<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link th:href="@{/ajax/libs/summernote/summernote.css}" rel="stylesheet"/>
<link th:href="@{/ajax/libs/summernote/summernote-bs3.css}" rel="stylesheet"/>

<body class="white-bg">
<style>
    .content{
        margin-top:6px ;
    }
    .form-group{
        margin-bottom: 0px;
    }
</style>


<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-jiaotong-info" th:object="${jiaotong}">
        <input id="jtId" name="jtId" th:field="*{jtId}"  type="hidden">
        

        <div class="form-group">
            <label class="col-sm-3 control-label">图片上传者：</label>
            <div class="col-sm-8">
                <div id="editorBy" name="editorBy" th:utext="*{editorBy}" class="content" type="text"></div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">上传日期：</label>
            <div class="col-sm-8">
                <div id="neweditorTime" name="neweditorTime" th:utext="*{neweditorTime}" class="content" type="text"></div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">图片：</label>
            <div class="col-sm-8">
                <div class="content" th:utext="*{avatar}"></div>
            </div>
        </div>
    </form>

</div>
<div th:include="include::footer"></div>
<script th:src="@{/ajax/libs/summernote/summernote.min.js}"></script>
<script th:src="@{/ajax/libs/summernote/summernote-zh-CN.js}"></script>
<script type="text/javascript">
    var prefix = ctx + "system/jiaotong";

    $("#form-jiaotong-avatarinfo").validate({
        rules: {
            xxxx: {
                required: true,
            },
        }
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/info", $('#form-jiaotong-avatarinfo').serialize());
        }
    }
    
</script>
</body>
</html>
